import request from '@/utils/request'

// 查询用章列表
export function listHgseal(query) {
  return request({
    url: '/Seal/hgseal/list',
    method: 'get',
    params: query
  })
}

// 查询用章详细
export function getHgseal(sealId) {
  return request({
    url: '/Seal/hgseal/' + sealId,
    method: 'get'
  })
}

// 新增用章
export function addHgseal(data) {
  return request({
    url: '/Seal/hgseal',
    method: 'post',
    data: data
  })
}

// 修改用章
export function updateHgseal(data) {
  return request({
    url: '/Seal/hgseal',
    method: 'put',
    data: data
  })
}

// 删除用章
export function delHgseal(sealId) {
  return request({
    url: '/Seal/hgseal/' + sealId,
    method: 'delete'
  })
}

export function getyzcheckedlist(query) {
  return request({
    url: '/system/wecom/getyzcheckedlist',
    method: 'get',
  })
}
